﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Masterpages/FlintMenu.Master" CodeBehind="Listado.aspx.vb" Inherits="Forecast.Webforms.Listado" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register src="ctrlAgregarForecast.ascx" tagname="ctrlAgregarForecast" tagprefix="uc1" %>
<%@ Register src="CtrInformacionUser.ascx" tagname="CtrInformacionUser" tagprefix="uc2" %>
<%@ Register src="CrtListado.ascx" tagname="CrtListado" tagprefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <%-- <style type="text/css">
        .modalBackground
        {
            background-color: Black;
            filter: alpha(opacity=90);
            opacity: 0.8;
        }
        .modalPopup
        {
            background-color: #FFFFFF;
            border-width: 3px;
            border-style: solid;
            border-color: black;
            padding-top: 10px;
            padding-left: 10px;
            width: 300px;
            height: 140px;
        }
    </style>--%>
     <%--<link href="css/flint.css" rel="stylesheet" />--%>
     
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
 
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="script" runat="server">
   
   <%-- <asp:ScriptManager ID="ScriptManager2" runat="server">
</asp:ScriptManager>--%>


      <div class="w970 vs12_light_form" runat="server" ID="pnlRendicion">
    <%-- <div runat="server" ID="pnlRendicion">--%>
 
    <asp:UpdatePanel ID="UpdatePanel22" runat="server">
        <ContentTemplate>
           
            <table runat="server" id="TblListadoFore" style="border: 0px solid rgba(189, 189, 189, 0.06); width: 88%;">

                <tr>
                    <td>
                        
                         <asp:Button ID="Button1" runat="server" CssClass="boton" Text="Add ForeCast" Height="25px" Width="150px" />
                        </td>
                    <td style="text-align: right"><asp:DropDownList ID="DrEntidadLegalUsuario2" runat="server" AutoPostBack="True"></asp:DropDownList>
                        </td>
                    </tr>
                <tr>
                    <td colspan="2">
                        <asp:CheckBox ID="ChFiltro" runat="server" Text="Search" AutoPostBack="True" />
                      
                                     <table style="border: 1px solid #999999; width: 80%; background-color: #FFFFFF;" runat="server" id="TBFiltro">
                                     <tr>
                                         <td class="auto-style4" style="background-color: #DADADA">
                                             <asp:Label ID="Label16" runat="server" Text="ID Customer"></asp:Label>
                                         </td>
                                         <td class="auto-style6">
                                             <asp:TextBox ID="TxtCodClienteB" runat="server" Width="100px" CssClass="w70p"></asp:TextBox>
                                         </td>
                                         <td class="auto-style5" style="background-color: #DADADA">
                                             <asp:Label ID="Label21" runat="server" Text="Customer"></asp:Label>
                                         </td>
                                         <td>
                                             <asp:DropDownList ID="DrClientesB" runat="server" Width="320px">
                                             </asp:DropDownList>
                                         </td>
                                         <td rowspan="3">
                                             <asp:Button ID="btnBuscar" runat="server" CssClass="boton" Height="45px" Text="Search" Width="70px" />
                                             <br />
                                             <asp:Button ID="btnLimpiarB" runat="server" CssClass="boton" Height="27px" Text="Clean" Width="70px" />
                                         </td>
                                     </tr>
                                     <tr>
                                         <td class="auto-style4" style="background-color: #DADADA">
                                             <asp:Label ID="Label17" runat="server" Text="Segment"></asp:Label>
                                         </td>
                                         <td class="auto-style6">
                                             <asp:DropDownList ID="DrSegmentoPLB" runat="server" Width="200px">
                                             </asp:DropDownList>
                                         </td>
                                         <td class="auto-style5" style="background-color: #DADADA">
                                             <asp:Label ID="Label19" runat="server" Text="Product"></asp:Label>
                                         </td>
                                         <td>
                                             <asp:DropDownList ID="DrProductoB" runat="server"  class="chzn-select" Width="320px">
                                             </asp:DropDownList>
                                             
                                         </td>
                                     </tr>
                                     <tr>
                                         <td class="auto-style4" style="background-color: #DADADA">
                                             <asp:Label ID="Label18" runat="server" Text="ProductLine"></asp:Label>
                                         </td>
                                         <td class="auto-style6">
                                             <asp:DropDownList ID="DrProductLineB" runat="server" Width="200px">
                                             </asp:DropDownList>
                                         </td>
                                         <td class="auto-style5" style="background-color: #DADADA">
                                             <asp:Label ID="Label20" runat="server" Text="UOM"></asp:Label>
                                         </td>
                                         <td>
                                             <asp:DropDownList ID="DrUOMB" runat="server" Width="100px">
                                             </asp:DropDownList>
                                         </td>
                                     </tr>
                                 </table>
                    </td>

                </tr>
                 <tr>
                    <td colspan="2">
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass="vs12_light_grid_trdl_alt pd5p" CellPadding="4" ForeColor="#333333" GridLines="None">
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            <Columns>
                                <asp:CommandField SelectText="&lt;img alt=&quot;&quot; src=&quot;../css/flint/bgVer.png&quot; border=&quot;0&quot; /&gt;" ShowSelectButton="True">
                                <HeaderStyle Width="18px" />
                                </asp:CommandField>
                                <asp:BoundField DataField="IdCustomer" HeaderText="IdCustomer" Visible="False" />
                                <asp:BoundField DataField="Cliente" HeaderText="Customer">
                              
                                <HeaderStyle Width="150px" />
                                <ItemStyle Font-Size="XX-Small" Width="150px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="IdSegment" HeaderText="IdSegment" Visible="False" />
                                <asp:BoundField DataField="Segmento" HeaderText="Segment" Visible="False"/>
                               
                                <asp:BoundField DataField="IdProductLine" HeaderText="IdProductLine" Visible="False" >
                                <ItemStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="ProdutLine" HeaderText="ProdutLine" >
                                
                                <ItemStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                
                                <asp:BoundField DataField="Mes1" HeaderText="Mes1">
                                <HeaderStyle Font-Size="11px" />
                                <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Mes2" HeaderText="Mes2">
                                <HeaderStyle Font-Size="11px" />
                                <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Mes3" HeaderText="Mes3">
                                <HeaderStyle Font-Size="11px" />
                                <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Mes4" HeaderText="Mes4">
                                <HeaderStyle Font-Size="11px" />
                                <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Mes5" HeaderText="Mes5">
                                <HeaderStyle Font-Size="11px" />
                                <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Mes6" HeaderText="Mes6">
                                <HeaderStyle Font-Size="11px" />
                                <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Mes7" HeaderText="Mes7">
                                <HeaderStyle Font-Size="11px" />
                                <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Mes8" HeaderText="Mes8">
                                <HeaderStyle Font-Size="11px" />
                                <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Mes9" HeaderText="Mes9">
                                <HeaderStyle Font-Size="11px" />
                                <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Mes10" HeaderText="Mes10">
                                <HeaderStyle Font-Size="11px" />
                                <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Mes11" HeaderText="Mes11">
                                <HeaderStyle Font-Size="11px" />
                                <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Mes12" HeaderText="Mes12">
                                <HeaderStyle Font-Size="11px" />
                                <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Mes13" HeaderText="Mes13">
                                <HeaderStyle Font-Size="11px" />
                                <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Mes14" HeaderText="Mes14">
                                <HeaderStyle Font-Size="11px" />
                                <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Mes15" HeaderText="Mes15">
                                <HeaderStyle Font-Size="11px" />
                                <ItemStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                            </Columns>
                            <EditRowStyle BackColor="#999999" />
                            <EmptyDataTemplate>
                                <div style="text-align: center; width: 1130px;">
                                    <asp:Label ID="Label1" runat="server" Text="No existe información cargada."></asp:Label>
                                </div>
                                
                            </EmptyDataTemplate>
                            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                            <PagerTemplate>
                                <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
                            </PagerTemplate>
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            <SortedAscendingCellStyle BackColor="#E9E7E2" />
                            <SortedAscendingHeaderStyle BackColor="#506C8C" />
                            <SortedDescendingCellStyle BackColor="#FFFDF8" />
                            <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                        </asp:GridView>
                    </td>
                </tr>
            </table>

                           

            <uc1:ctrlAgregarForecast ID="ctrlAgregarForecast1" runat="server" />
        
          


        </ContentTemplate>
        
    </asp:UpdatePanel>
 </div> 
      <p>
     
      
       
    </p>
    <p>
    </p>

<asp:Button ID="btnShow" runat="server" Text="Show Modal Popup" Visible="False" />

<!-- ModalPopupExtender -->
<cc1:ModalPopupExtender ID="mp1" runat="server" PopupControlID="Panel1" TargetControlID="btnShow"
    CancelControlID="btnClose" BackgroundCssClass="modalBackground">
</cc1:ModalPopupExtender>
<asp:Panel ID="Panel1" runat="server" CssClass="modalPopup" align="center" style = "display:none">
    This is an ASP.Net AJAX ModalPopupExtender Example<br />
    <asp:Button ID="btnClose" runat="server" Text="Close" />
</asp:Panel>
<!-- ModalPopupExtender -->


    <br />
    <br />
    <br />
    <asp:Panel ID="Panel2" runat="server">
    <asp:Button ID="LoadLocalDialog" runat="server" Text="Agregar " CssClass="boton" OnClick="btnAgregarGasto_Click" Visible="False" />

    </asp:Panel>
  
   


</asp:Content>
